<template>
    <div>

 <div class="top">
          <ul>
              <li><img src="../assets/img/logo5.png" alt=""></li>
              <li><input type="text" placeholder="搜索" @click="clickSearch"></li>
              <li><button>打开App</button></li>
          </ul>
      </div>

    </div>
</template>

<script>
export default {
    name: 'myHead',
    data() {
        return {

        };
    },
    created() {
    },
    methods: {
        clickSearch() {
            this.$router.push('ssearch')
        }

    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
.top{
    width: 100%;
    height: 60px;
    ul{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .8rem;
        input{
            height: 30px;
            border: none;
            background-color: #eee;
            border-radius: 15px;
            padding-left: 10px;
            outline: none;
        }
        button{
            background-color: chocolate;
            color: #fff;
            border: none;
            border-radius: 20px;
            padding:0 10px;
            height: 30px;

        }
    }
}
</style>
